Skip to main content

Week 2

Dec 12/05/2022

ORSANCO

Next steps meeting (9:15 am to 10:15 am)

  • Fetch the names of the Rivers, Reach, Station from the database
  • Do NOT show all the dropdowns at once, just shows rivers
    • once the river is chosen, populate reach
    • once the reach is chosen, populate station
  • query stations based on id, then in the dropdown show the name

Code sample from Jake

<select>
<option id="station.id">station.name</option>
<option id="2">39.5</option>
<option id="3">40.5</option>
<option id="4">41.5</option>
</select>

if stations = [x, x, x, x, x, x, x, x]

// if Django
<select>
{% for station in stations %}
<option id="{station.id}">{station.name}</option>
{% endfor %}
</select>

// For React
const [rivers, setRivers] = useState(undefined)
const [reaches, setReaches] = useState(undefined)
const [stations, setStations] = useState(undefined)

// When a river is selected, onchange method, query for reaches, update state, trigger render dropdown.
// When a reach is selected, onchange method, query for stations, update state, trigger render dropdown.

Steps to follow

  • create endpoints to fetch the rivers, reach, stations
  • call appropriate endpoint from the frontend and populate the dropdowns

Dec 12/06/2022

  • Adding pushpin information to the global state
  • streamlit-sharpen app
  • CSDP meeting
    • final todo: needs to be discussed with Jake
  • ORSANCO
    • iterative calls based on things selected in the dropdown
    • new method suggested by Sudhir (not yet implemented)
      • just populate rivers right away, have reach and station to be -----
      • once a river is chosen add to the global state
      • then fire a query based on the chosen river to get the reach, add it to the global state
      • then repeat the same process for station

Dec 12/07/2022

  • Knowledge transfer of the work done by Vannary
    • Going over her daily updates
  • CSDP feature request
    • Getting rid of the Temporal Controller (Clock) -- Jake
    • Structure count in the legend box -- Jake
  • Verifying passwords received from Pavan
  • Visualizing tree-root after sharpening
  • Implementation of the transform in fastai

Dec 12/08/2022

  • Model for time series forecasting
    • Need to figure out
    • why is loss value in millions?
    • can't overfit (make the loss go to zero on a single batch)
    • tried a minimal example from the website, it works as expected.
  • ORSANCO
    • Replace dropdowns with Textboxes
    • Update values of textboxes from the global context

Dec 12/09/2022

  • Refactored design of the graphpage
    • replaced data aggregator with data type
    • graph page show all 3 avg, min and max
  • Response from Brian -- still pending
    • can't upload pkl files on Collimator
    • model for soluble, particulate and T
    • model for Q (flow)
  • AI3 Hackathon
    • some minor updates
    • papers uploaded on Dropbox